package com.hoshiicloud.goods.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.goods.entity.goods.GoodsSpecificationsValuesType;

import java.util.List;

/**
 * <p>
 * 类目值类别 服务类
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
public interface GoodsSpecificationsValuesTypeService extends IService<GoodsSpecificationsValuesType> {
    Page<GoodsSpecificationsValuesType> getPage(Page<GoodsSpecificationsValuesType> page, Wrapper<GoodsSpecificationsValuesType> queryWrapper, String key);

    GoodsSpecificationsValuesType getById(Long id);

    boolean save(GoodsSpecificationsValuesType entity);

    boolean updateById(GoodsSpecificationsValuesType entity);

    boolean deleteById(Long id);

    List<GoodsSpecificationsValuesType> getByIds(List<Long> ids, String key);

    List<GoodsSpecificationsValuesType> queryDropdownBox(Long companyId, String type, String key);
}
